home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / comm / cnet / cn305c_2.lha / support / FidoNet / Method3.examples / AfterSession next >
Text File  |  1994-02-13  |  538b  |  29 lines

  1. ; Feb 7, 1994 - Example script to run Toss and handle incoming NODEDIFF files
  2. ; by Jim Selleck
  3.  
  4. ; NOTE: Files such as "PKAX" and "TrapList" must have been placed where the
  5. ;       system can find them, such as in your C: directory.
  6.  
  7. run CNet:Toss
  8.  
  9. CD mail:Inbound
  10.  
  11. ; copy clinklst.#? nodelist:
  12. ; delete clinklst.#?
  13.  
  14. list nodediff.a?? lformat="rename %s nodediff.arc" >t:UNarc
  15.  
  16. execute t:UNarc
  17. delete t:UNarc
  18.  
  19. IF EXISTS nodediff.arc
  20.  
  21.     PKAX -x nodediff
  22.     delete nodediff.a??
  23.  
  24.     copy nodediff.#? nodelist:
  25.     delete nodediff.#?
  26.  
  27.     TrapList
  28. ENDIF
  29.